package com.onepower.core.domain.response;

import com.onepower.core.modules.repository.entity.MatchReferee;
import lombok.Data;
//import org.springframework.security.core.userdetails.UserDetails;

import java.util.Date;
import java.util.List;

@Data
public class SysUserInfo {
    private Integer id;

    /**
     * 别名
     */
    private String nickName;
    /**
     * 登录账号
     */
    private String account;

    /**
     * 邮箱
     */
    private String email;
    /**
     * 用户头像
     */
    private String avatar;
    /**
     * 帐号状态（0正常 1停用 2删除）
     */
    private Integer status;

    private List<String> roleList;

    private List<String> perms;

    private MatchReferee matchReferee;

    private Integer refereeType;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public List<String> getRoleList() {
        return roleList;
    }

    public void setRoleList(List<String> roleList) {
        this.roleList = roleList;
    }

    public List<String> getPerms() {
        return perms;
    }

    public void setPerms(List<String> perms) {
        this.perms = perms;
    }

    public MatchReferee getMatchReferee() {
        return matchReferee;
    }

    public void setMatchReferee(MatchReferee matchReferee) {
        this.matchReferee = matchReferee;
    }

    public Integer getRefereeType() {
        return refereeType;
    }

    public void setRefereeType(Integer refereeType) {
        this.refereeType = refereeType;
    }
}
